

import 'package:flutter_shark_im/entity/message/base_message_entity.dart';

class AuthenticationResponseEntity {
	int result;
	int responseNo;
	int no;
	String createTime;
	String name;
	int id = BaseMessageEntity.AUTHENTICATION_RESPONSE;

	AuthenticationResponseEntity({this.result, this.responseNo, this.no, this.createTime, this.name});

	AuthenticationResponseEntity.fromJson(Map<String, dynamic> json) {
		result = json['result'];
		responseNo = json['responseNo'];
		no = json['no'];
		createTime = json['createTime'];
		name = json['name'];
		id = json['id'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['result'] = this.result;
		data['responseNo'] = this.responseNo;
		data['no'] = this.no;
		data['createTime'] = this.createTime;
		data['name'] = this.name;
		data['id'] = this.id;
		return data;
	}
}
